class DadLikeDo:
    def basketball(self):
        print('打篮球')
class MomLikeDO:
    def sing(self):
        print('唱歌')
class SonLikeDo(DadLikeDo, MomLikeDO):
    def dance(self):
        print('跳舞')
son = SonLikeDo()
print('儿子喜欢做的事：')
son.basketball()
son.sing()
son.dance()